package net.etfbl.projekat.verko.dto;

import java.util.Date;

public class Komentar {
	
	private int id_komentar;
	private String sadrzaj;
	private Date datum;
    private int link_to_korisnik;
    private int link_to_film;
    
    public Komentar()
    {
    	super();
    }
	public Komentar(String sadrzaj) {
		super();
		this.sadrzaj = sadrzaj;
		this.datum=(java.sql.Date)(new Date());
	}
	public Komentar(int id_komentar, String sadrzaj) {
		super();
		this.id_komentar = id_komentar;
		this.sadrzaj = sadrzaj;
		this.datum=(java.sql.Date)(new Date());
	}
	public Komentar(int id_komentar, String sadrzaj, int link_to_korisnik,
			int link_to_film) {
		super();
		this.id_komentar = id_komentar;
		this.sadrzaj = sadrzaj;
		this.datum= (java.sql.Date)(new Date());
		this.link_to_korisnik = link_to_korisnik;
		this.link_to_film = link_to_film;
	}
	public Komentar(String sadrzaj, Date datum) {
		super();
		this.sadrzaj = sadrzaj;
		this.datum = datum;
	}
	public Komentar(String sadrzaj, Date datum, int link_to_korisnik,
			int link_to_film) {
		super();
		this.sadrzaj = sadrzaj;
		this.datum = datum;
		this.link_to_korisnik = link_to_korisnik;
		this.link_to_film = link_to_film;
	}
	public Komentar(int id_komentar, String sadrzaj, Date datum) {
		super();
		this.id_komentar = id_komentar;
		this.sadrzaj = sadrzaj;
		this.datum = datum;
	}
	public Komentar(int id_komentar, String sadrzaj, Date datum,
			int link_to_korisnik, int link_to_film) {
		super();
		this.id_komentar = id_komentar;
		this.sadrzaj = sadrzaj;
		this.datum = datum;
		this.link_to_korisnik = link_to_korisnik;
		this.link_to_film = link_to_film;
	}
	public int getId_komentar() {
		return id_komentar;
	}
	public void setId_komentar(int id_komentar) {
		this.id_komentar = id_komentar;
	}
	public String getSadrzaj() {
		return sadrzaj;
	}
	public void setSadrzaj(String sadrzaj) {
		this.sadrzaj = sadrzaj;
	}
	public Date getDatum() {
		return datum;
	}
	public void setDatum(Date datum) {
		this.datum = datum;
	}
	public int getLink_to_korisnik() {
		return link_to_korisnik;
	}
	public void setLink_to_korisnik(int link_to_korisnik) {
		this.link_to_korisnik = link_to_korisnik;
	}
	public int getLink_to_film() {
		return link_to_film;
	}
	public void setLink_to_film(int link_to_film) {
		this.link_to_film = link_to_film;
	}
}
